package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.supervision.dto.create.DcpgSurveyCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.DcpgEvaluateQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.DcpgSurveyResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.DcpgSurveyUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.DcpgSurveyEntity;

import java.util.List;

public interface DcpgSurveyService extends IService<DcpgSurveyEntity> {

    PageInfo<DcpgSurveyResultDTO> pageList( DcpgEvaluateQueryDTO dto);

    DcpgSurveyResultDTO getById(Long id);

    Boolean create(DcpgSurveyCreateDTO dto);

    Boolean update(DcpgSurveyUpdateDTO dto);

    List<DcpgSurveyResultDTO> findList(DcpgEvaluateQueryDTO dto);
}